package com.zzyl.service;


import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingLevelDto;
import com.zzyl.vo.NursingLevelVo;

import java.util.List;

public interface NursingLevelService {
    /**
     * 查询所有护理等级
     */
    List<NursingLevelVo> queryAllNursingLevel();

    /**
     * 新增护理等级
     */
    void addNursingLevel(NursingLevelDto nursingLevelDto);

    /**
     * 条件分页查询护理等级
     */
    PageResponse<NursingLevelVo> PageQuery(Integer pageNum, Integer pageSize, String name, Integer status);

    /**
     * 根据id查询护理等级
     */
    NursingLevelVo getById(Integer id);

    /**
     * 修改护理等级
     */
    void updateNursingLevel(NursingLevelDto nursingLevelDto);

    /**
     * 删除护理等级
     */
    void deleteNursingLevel(Integer id);

    /**
     * 护理等级启用或禁用
     */
    boolean enableOrDisable(Integer id, Integer status);
}
